package com.parse.productFactory;

import com.utilFactory.En.FileFormat;

import java.io.File;

public class JpgFactory implements ProduceImageFunction{
    public FileFormat targetFormat = null;
    public File convertedFile = null;


    @Override
    public void concertToJpeg() {
        System.out.println("将jpg图片转为jpeg");
    }

    @Override
    public void concertToJpg() {
        System.out.println("将jpg图片转为jpg");
    }

    @Override
    public void concertToGif() {
        System.out.println("将jpg图片转为Gif");
    }

    @Override
    public void concertToPng() {
        System.out.println("将jpg图片转为png");
    }

    @Override
    public void concertToSvg() {
        System.out.println("将jpg图片转为svg");
    }
}